<?php
/**
 * ObjectDeleteView
 *
 * @version    1.0
 * @package    samples
 * @subpackage tutor
 * @author     Pablo Dall'Oglio
 * @copyright  Copyright (c) 2006-2011 Adianti Solutions Ltd. (http://www.adianti.com.br)
 * @license    http://www.adianti.com.br/framework-license
 */
class ObjectDeleteView extends TPage
{
    public function __construct()
    {
        // parent classs constructor
        parent::__construct();
        
        // scroll to put the source inside
        $scroll = new TScroll;
        $scroll->setSize(570, 400);
        $source = new TSourceCode;
        $source->loadFile('app/resources/Persistence/Objects/ObjectDeleteView.php');
        $scroll->add($source);
        
        // create a table to organize the layout
        $page = new TTable;
        $page->addRow()->addCell($scroll);
        parent::add($page);
    }
}
?>